home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000488_romig@cis.ohio-state.edu _Mon Dec 14 09:03:57 1992.msg < prev    next >
Internet Message Format  |  1994-01-24  |  2KB

  1. Return-Path: <romig@cis.ohio-state.edu>
  2. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  3.     id AA00198; Mon, 14 Dec 92 09:03:57 MET
  4. Received: by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  5.     id AA16655; Sun, 13 Dec 1992 09:33:49 +0100
  6. Received: by brachiosaur.cis.ohio-state.edu (5.61-kk/5.911008)
  7.     id AA13526; Sun, 13 Dec 92 03:33:47 -0500
  8. Date: Sun, 13 Dec 92 03:33:47 -0500
  9. From: Steve Romig <romig@cis.ohio-state.edu>
  10. Message-Id: <9212130833.AA13526@brachiosaur.cis.ohio-state.edu>
  11. To: www-talk@nxoc01.cern.ch
  12. Subject: Questions about WAIS, WAISGate
  13.  
  14. I'm trying to set up a W3/wais server for the Internet RFCs and
  15. related docs.  I created a server script in Perl that takes requests,
  16. looks up the RFCs in our ftp archive, and returns an HTML doc with
  17. links to things that look like other RFC names.  So far, so good, this
  18. works great.
  19.  
  20. I also wanted to be able to search for stuff with a waisserver, so I
  21. indexed them (they're in /n/archive/2/ftp/pub/rfc or something like
  22. that).  WAIS lookups work fine.  
  23.  
  24. I also set up a waisgate server.  Lookups work ok, but here's the
  25. problem: the doc IDs are created such that requests for the docs get
  26. passed to waisgate and from there to the waisserver.  Of course,
  27. that's the way things should work.  But that means that they aren't
  28. retrieved from the special rfc server that I created.
  29.  
  30. I could get around this by converting the RFC texts to html, storing
  31. them somewhere, and indexing that, but I'd rather avoid copying
  32. everything and all that.
  33.  
  34. What I'd like to do (and will, unless someone has a better answer) is
  35. to have waisgate read a config file that might look something like
  36. this: 
  37.  
  38.     rfc /n/archive/2/ftp/pub/rfc/*.Z http://rfcserver:port/rfc/*.html
  39.  
  40. so that document ids from database rfc that match the pattern are
  41. seen, they are translated to the form on the right instead of the
  42. usual wais->www ids.  That way I could have waisgate redirect specific
  43. doc lookups to a special server, and not have to copy the databases.
  44.  
  45. Is there a better way to do this (short of copying the source files,
  46. preformatting them and leaving them there)?  
  47.  
  48. --- Steve